/*
 * @Description:
 * @Version: 2.0
 * @Autor: wiz
 * @Date: 2023-11-01 06:57:29
 * @LastEditors: wiz
 * @LastEditTime: 2023-11-01 20:36:52
 */
import { ifs } from '@/services';
import Vue from 'vue';
import { I_cmd } from './command';

/**
 * props:
 * 参数：
 * params
 * // 渲染
 * renderOpts
 * 组件箱
 * compBoxInfo
 *
 */

export namespace N_oRadio {
  export interface I_renderOptsPropsOptions {
    label: string;
    value: string;
    disabled?: boolean;
  }
  export interface oRadio extends Vue {
    G_compName: string;

    /* 组件箱信息对象 */
    GT_compBoxInfo: ifs.I_compBoxInfo;

    /* 组件箱对象 */
    GT_compBox: ifs.I_compBox;

    /* 组件箱识别ID */
    G_compID: string;

    /* 指挥部 */
    GT_command: I_cmd;
    onChange: (e: any) => void;
    // 设置选择 传入label
    setValue: (p: string) => void;
    // 获取选择的label
    getValue: () => string;
  }
}
